import { createSSRApp } from "vue";
import App from "./App.vue";
import registerPlugins from "./plugins";

export function createApp() {
  const app = createSSRApp(App);
  const { pinia } = registerPlugins(app);
  return {
    app,
    pinia,
  };
}
